package com.dalin.demo.dao;

import com.dalin.demo.pojo.entity.OaMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OaMessageMapper {
    List<OaMessage> listOaMessages();
    List<OaMessage> listOaMessagesByParams(Map<String, Object> params);
    void insertOaMessage(OaMessage oaMessage);
    void updateOaMessage(OaMessage oaMessage);
    void deleteOaMessageById(Integer id);
    OaMessage getOaMessageById(Integer id);
    void deleteOaMessages(List<String> ids);
}